﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EmailSender.Models;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using Mn.Framework.Web.Mvc;
using EntityState = System.Data.EntityState;

namespace EmailSender.Controllers
{
    public class EmailCategoryController : MnEntityController<EmailCategoryModel>
    {
        private EmailContext db = new EmailContext();
        public ActionResult Index()
        {
            return View();
        }

        public override MN.Framework.Common.BaseContext DbContext
        {
            get { return db; }
        }
    }
}